package com.corpdata.app.project.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.corpdata.core.base.AbstractBaseService;
import com.corpdata.app.project.dao.ProjectBuildingMapper;
import com.corpdata.app.project.entity.ProjectBuilding;
import com.corpdata.app.project.service.ProjectBuildingService;
import com.corpdata.common.utils.CorpdataUtil;

/**
 * 项目大楼
 * 
 * @author wu
 * @email 64088839@qq.com
 * @date 2018-06-08 15:23:00
 */
@Service
@Transactional
public class ProjectBuildingServiceImpl extends AbstractBaseService<ProjectBuilding> implements ProjectBuildingService {
	
	@Autowired
	ProjectBuildingMapper projectBuildingMapper;
	/**
	 * 获取下拉json数据
	 * @return
	 */
	public String findByCombox(){
		String json = CorpdataUtil.getComboxJson(projectBuildingMapper.selectAllByCombox());
		return json;
	}
}
